-- GENERATED SPELL FOR [Arei] --


function spell0_9598(pUnit, Event) --@Wither Strike,Heal--
pUnit:FullCastSpellOnTarget(5337,pUnit)
pUnit:RegisterEvent('Sorts_9598', 8273, 1)
end

function Sorts_9598(pUnit, Event)
local choix_sorts_9598 = math.random(0, 0)
if choix_sorts_9598 == 0 then
pUnit:RegisterEvent('spell0_9598', 1, 1)
end
end

function mob9598_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_9598', math.random(1500, 3000), 1)
end

function mob9598_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob9598_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob9598_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(9598, 1, 'mob9598_Action')
RegisterUnitEvent(9598, 2, 'mob9598_Leave')
RegisterUnitEvent(9598, 3, 'mob9598_Kill')
RegisterUnitEvent(9598, 4, 'mob9598_Die')
